<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<title>Package signup Form a Responsive Widget Template :: w3layouts</title>
<!-- Meta tags -->
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="package signup Form Responsive Widget,Login form widgets, Sign up Web forms , Login signup Responsive web form,Flat Pricing table,Flat Drop downs,Registration Forms,News letter Forms,Elements" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- Meta tag Keywords -->

<link href="../static/register/css/style.css" rel="stylesheet" type="text/css" media="all">
<link href="//fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900&amp;subset=cyrillic,cyrillic-ext,latin-ext,vietnamese" rel="stylesheet">
</head>
<body>
<div class="form">
	<div class="form-content">
		<form action="/user/register" method="post"  enctype="multipart/form-data">
			<div class="form-info">
				<h2>注册用户</h2>
			</div>
			<div class="name">
				<label>登录名</label>
				<input class="input1" type="text" name="loginName" placeholder="登录名" required="">
			</div>
			<div class="email">
				<label>邮箱</label>
				<input class="input1" type="email" name="user.email" placeholder="邮箱" >
			</div>
			<div class="name">
				<label>手机号</label>
				<input class="input1" type="text" name="user.tel" placeholder="手机号" >
			</div>
			<div class="name">
				<label>qq</label>
				<input class="input1" type="text" name="user.qq" placeholder="qq" >
			</div>
			<div class="name">
				<label>头像</label>
				<input class="input1" type="file" name="file"  placeholder="头像" >
			</div>
			<div class="pass1">
				<label>密码</label>
				<input class="input1" type="password" name="password" placeholder="**********" required="">
			</div>
			<div class="pass2">
				<label>确认密码</label>
				<input class="input1" type="password" name="confirm password" placeholder="**********" required="">
			</div>
			<div class="signup">
				<input type="submit" value="注册">
			</div>
		</form>
		<br>
		<c:if test="${isError}">
			<p style="color: red;" >${desc}</p>
		</c:if>


	</div>
</div>
</body>
</html>